package com.aaa.service.impl;

import com.aaa.dao.CardTypeDao;
import com.aaa.dao.impl.CardTypeDaoImpl;
import com.aaa.entity.CardType;
import com.aaa.service.CardTypeService;

import java.util.List;

public class CardTypeServiceImpl implements CardTypeService {
    private CardTypeDao cardTypeDao = new CardTypeDaoImpl();
//  获取全部正常状态会员卡的等级
    @Override
    public List<CardType> getAllCardType() {
        return cardTypeDao.getAllCardType();
    }
}
